// import * as tf from '@tensorflow/tfjs'
// import * as knn from '@tensorflow/tfjs-converter'

// const MODEL_URL = 'https://storage.googleapis.com/tfjs-models/savedmodel/posenet/resnet50/quant1/model-stride32.json';
 

// // 加载预训练的 MNIST KNN 模型
// const model = await knn.loadGraphModel(MODEL_URL);


// export function recognize (imageUrl: any) {
//   const ret = model.predict(tf.tensor("imageUrl"))
//   console.log('0000', ret)
  
// }